package com.panshi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
@EnableEurekaClient
@EnableCircuitBreaker   //开启服务熔断
@MapperScan("com.panshi.mapper")
public class HasbeiQaProvider {
    public static void main(String[] args) {
        SpringApplication.run(HasbeiQaProvider.class,args);
    }
}
